package com.buba.personnel.service;

import com.buba.pojo.Organization;

import java.util.List;
import java.util.Map;

/**
 *机构业务层
 */
public interface OrganizationService {
    /**
     * 查询机构
     * @param paramMap
     * @return
     */
    List<Organization> selOrganization(Map<String, Object> paramMap);

    /**
     * 删除机构
     * @param id
     * @return
     */
    long delOrganization(Integer id);

    /**
     * 添加机构
     * @param organization
     * @return
     */
    long addOrganization(Organization organization);

    /**
     * 修改
     * @param organization
     * @return
     */
    long updOrganization(Organization organization);
}
